<!-- 测试 -->
<template>
  <view class="container">
    test
    <u-slider v-model="value" block-width="40" block-color="red"  @end="slideEnd"></u-slider>
  </view>
</template>

<script>
const moment = require('moment')

import base from '@/config/baseUrl';
export default {
  data () {
    return {
      value:10
    };
  },
  onLoad(){
    var timestamp=new Date().getTime()
    console.log(timestamp)
    timestamp = ""

    /* let signature = 'a34650a8dc20ad01bd2798e9c35a10730567cffb9c0992dad2d588e47e9513ea'
    this.$u.api.allCoins(timestamp, signature).then(data => {
      console.log('所有币种',data)
    }) */

    console.log(base.huobi)

    /* let params = this.$u.func.sign_sha('GET', base.huobi.url, '/v1/order/orders', 
    this.$u.func.get_body())
    console.log('params', params)

    this.$u.api.orders(params).then(res => {
      console.log('orders', res)
    }) */
  },
  components: {},

  computed: {},

  mounted() {},

  methods: {
    slideEnd(){
      console.log('slideEnd', this.value)
    }
  }
}

</script>
<style lang='scss' scoped>
</style>